﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Admin_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<base href="http://www.elegantfood.com" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<meta name="author" content="" />
	<link rel="Shortcut Icon" href="../App_Resources/Icons/favicon.ico" type="image/x-ico; charset=binary" />
	<link rel="icon" href="../App_Resources/Icons/favicon.ico" type="image/x-ico; charset=binary" />
	<link rel="Stylesheet" type="text/css" href="../App_Resources/Bootstrap/css/bootstrap.min.css"
		media="screen" />
	<link rel="Stylesheet" type="text/css" href="../App_Resources/Bootstrap/css/bootstrap-theme.min.css"
		media="screen" />
	<link rel="Stylesheet" type="text/css" href="../App_Resources/Stylesheets/BeElagantFood.css" media="screen" />
	<title>Login - Elegant Food</title>
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-md-3" id="login">
				<fieldset>
					<legend>ចូលគ្រប់គ្រង ប្រព័ន្ធ</legend>
					<form id="formLogin" runat="server" role="form">
						
					<asp:Login ID="EFLogin" runat="server" DestinationPageUrl="~/Backend/Default.aspx">
						<LayoutTemplate>
							<asp:Literal ID="Literal1" runat="server" EnableViewState="true"></asp:Literal>
							<asp:ValidationSummary ID="displayError" runat="server" ValidationGroup="EFLogin" CssClass="alert alert-danger" />
							<div class="form-group">
								<asp:Label ID="lblUsername" runat="server" AssociatedControlID="UserName">ឈ្មោះចូល</asp:Label>
								<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
									ErrorMessage="ឈ្មោះចូលត្រូវតែបំពេញ!" ToolTip="ឈ្មោះចូលត្រូវតែបំពេញ!" ValidationGroup="EFLogin"
									CssClass="ef-required">*</asp:RequiredFieldValidator>
								<asp:TextBox ID="UserName" runat="server" CssClass="form-control"></asp:TextBox>
							</div>
							<div class="form-group">
								<asp:Label ID="lblPassword" runat="server" AssociatedControlID="Password">អក្សរសម្ងាត់</asp:Label>
								<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
									ErrorMessage="អក្សរសម្ងាត់ត្រូវតែបំពេញ!" ToolTip="អក្សរសម្ងាត់ត្រូវតែបំពេញ!" ValidationGroup="EFLogin"
									CssClass="ef-required">*</asp:RequiredFieldValidator>
								<asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="form-control"></asp:TextBox>
							</div>
							<div class="checkbox">
								<asp:CheckBox ID="RememberMe" runat="server" Text="ចងចាំទិន្នន័យចូល!" />
							</div>
							<div class="form-group">
								<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="ចូល" ValidationGroup="EFLogin" CssClass="btn btn-warning form-control" />
							</div>
						</LayoutTemplate>
					</asp:Login>
						
					</form>
				</fieldset>
			</div>
		</div>
	</div>
</body>
</html>
